projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f8b42b
)
(init_lread): Specify LC_NUMERIC locale.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 5 Apr 1996 18:15:53 +0000
(18:15 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 5 Apr 1996 18:15:53 +0000
(18:15 +0000)
src/lread.c
patch
|
blob
|
history
diff --git
a/src/lread.c
b/src/lread.c
index 4c44949d5b1d90dfea3c7e4dc7513d5f0de68060..4f0b5f62548c3b4bd8adc338307cd8210e140fae 100644
(file)
--- a/
src/lread.c
+++ b/
src/lread.c
@@
-2233,6
+2233,11
@@
init_lread ()
char *normal;
int turn_off_warning = 0;
+#ifdef HAVE_SETLOCALE
+ /* Make sure numbers are parsed as we expect. */
+ setlocale (LC_NUMERIC, "C");
+#endif /* HAVE_SETLOCALE */
+
/* Compute the default load-path. */
#ifdef CANNOT_DUMP
normal = PATH_LOADSEARCH;